<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a:link{
            color: black;
            text-decoration: none;
        }
        a:visited{
            color: red;
            font-family: "微软雅黑";
        }
        a:hover{
            color: blue;
            font-size: 30px;
        }
        a:active{
            font-size: 30px;
            font-weight: bold;
        }
        body{
            background-color: yellow;
        }
        h1{
            background-color: #00ff00;
        }
        p{
            background-color: rgb(250, 0, 350);
        }
        p.no1{
            background-color: gray;padding: 20px;
        }
        .box{
            width: 400px;
            height: 400px;
            background-color: red;
            background-image: url(./video/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png);
            background-repeat: no-repeat;
            background-repeat: repeat;
            /*
            background-repeat设置背景图的重复方式
            no-repeat只能出现一次
            repeat水平和竖直都重复出现
            */
        }
    </style><!--image里面填照片链接-->
</head>
<body>
    <a href="https://www.baidu.com/">百度地图</a>
    <h1>这是标题</h1>
    <p>这是段落</p>
    <p class="no1">这个段落设置了内边距</p>
    <div class="box">这是一个设置了背景的div</div>
</body>
</html>